﻿#include <iostream>
#include <QApplication>
#include <QDir>
#include <TimeManage.h>

int main(int argc
	, char* argv[]) {
	TimeManage app(argc, argv);
	
	int readResult = app.appendSettingFile(QDir::currentPath( ) + "./json/default.Json");
	if( readResult <= 0 ) {
		std::cout << QString("可使用配置进程不足，请检查配置文件").toLocal8Bit( ).constData( ) << std::endl;
		return readResult;
	}
	return app.runMainProcess( );
}
